package test2.id;

public class BitOperation {
	
	public static void main(String[] args) {
//		System.out.println(714271882081206272L | 393216L | 49152L |0L);
//		System.out.println(714271882081206272L | 393216L | 49152L);
//		System.out.println(714271882081206272L | 393216L);
//		System.out.println(714271882081206272L + 393216L);
//		System.out.println(714271882081206272L + 393216L + 49152L);
		System.out.println(256L | 24L );
		System.out.println(256L + 24L);
		
		System.out.println(25 & 256);
		System.out.println(26 & 256);
		System.out.println(27 & 256);
		System.out.println(28 & 256);
		System.out.println(256 & 256);
		
		//10000000
		//00011001
		//10000000
		System.out.println(0 ^ 4094);
		System.out.println(2 ^ 4094);
		System.out.println(3 ^ 4094);
		System.out.println(4 ^ 4094);
		System.out.println(5 ^ 4094);
		System.out.println(4094 ^ 4094);
	}
	
}
